'fields' => [
'namespace' => 'p1.page_namespace',
'title' => 'p1.page_title',
- 'value' => 'p1.page_title',
'rd_namespace',
'rd_title',
'rd_fragment',
'fields' => [
'namespace' => 'pa.page_namespace',
'title' => 'pa.page_title',
- 'value' => 'pa.page_title',
'b_namespace' => 'pb.page_namespace',
'b_title' => 'pb.page_title',
'tables' => [ 'p1' => 'page', 'redirect', 'p2' => 'page' ],
'fields' => [ 'namespace' => 'p1.page_namespace',
'title' => 'p1.page_title',
- 'value' => 'p1.page_title',
'rd_namespace',
'rd_title',
'rd_fragment',
'fields' => [
'namespace' => 'page_namespace',
'title' => 'page_title',
- 'value' => 'page_title'
],
'conds' => $conds,
'join_conds' => $joinConds
return false;
}
+ function getOrderFields() {
+ return [ 'title' ];
+ }
+
function getQueryInfo() {
return [
'tables' => [ 'page', 'categorylinks' ],
- 'fields' => [ 'namespace' => 'page_namespace',
+ 'fields' => [
+ 'namespace' => 'page_namespace',
'title' => 'page_title',
- 'value' => 'page_title' ],
- 'conds' => [ 'cl_from IS NULL',
+ ],
+ 'conds' => [
+ 'cl_from IS NULL',
'page_namespace' => NS_FILE,
- 'page_is_redirect' => 0 ],
- 'join_conds' => [ 'categorylinks' => [
- 'LEFT JOIN', 'cl_from=page_id' ] ]
+ 'page_is_redirect' => 0,
+ ],
+ 'join_conds' => [
+ 'categorylinks' => [
+ 'LEFT JOIN',
+ 'cl_from=page_id',
+ ],
+ ],
];
}
'fields' => [
'namespace' => 'page_namespace',
'title' => 'page_title',
- 'value' => 'page_title'
],
// default for page_namespace is all content namespaces (if requestedNamespace is false)
// otherwise, page_namespace is requestedNamespace
return $this->msg( 'unusedcategoriestext' )->parseAsBlock();
}
+ function getOrderFields() {
+ return [ 'title' ];
+ }
+
public function getQueryInfo() {
return [
'tables' => [ 'page', 'categorylinks' ],
'fields' => [
'namespace' => 'page_namespace',
'title' => 'page_title',
- 'value' => 'page_title'
],
'conds' => [
'cl_from IS NULL',
return false;
}
+ function getOrderFields() {
+ return [ 'title' ];
+ }
+
public function getQueryInfo() {
return [
'tables' => [ 'page', 'templatelinks' ],
'fields' => [
'namespace' => 'page_namespace',
'title' => 'page_title',
- 'value' => 'page_title'
],
'conds' => [
'page_namespace' => NS_TEMPLATE,
'fields' => [
'namespace' => 'page_namespace',
'title' => 'page_title',
- 'value' => 'page_title'
],
'conds' => [
'll_title IS NULL',
'fields' => [
'namespace' => 'page_namespace',
'title' => 'page_title',
- 'value' => 'page_title',
],
'conds' => [
0 => 'cl_from IS NULL',